<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8"/>
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
		<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
		<title></title>
		<link type="text/css" rel="stylesheet" href="../../statics/css/common.css?t=201508031103" />
		<link type="text/css" rel="stylesheet" href="../../statics/css/cate.css?t=201508031103" />
		<link type="text/css" rel="stylesheet" href="../../statics/css/roll.css?t=201509042256" />
	</head>
	<body>
		<header>
			<span class="back"></span><span class="title"></span>
			<div class="title-editer"><span class="done">完成</span><span class="delete">删除</span></div>
		</header>
		<!--<div id="top-loading"><span></span><p></p></div>-->
		<div class="main-viewer">
			<div class="master-infos">
				<div class="avatar">
					<img src="" width="100%" />
				</div>
				<div class="uinfos">
					<span class="uname"></span>
					<span class="des"></span>
				</div>
				
				<span class="edit-btn"> 编辑答案</span>
			</div>
			<div class="open-text">
				
			</div>
			<ul id="list">
				
			</ul>
			<!--<div class="end"><div class="loading-bottom"></div></div>-->
		</div>
		<div id="list-temp"></div>
		<div class="comments">
			<ul id="comment-list">

			</ul>
			<div class="loadmore">点击加载更多</div>
		</div>
		<script type="text/html" id="comments-list-template">
			{{each}}
			<li>
					<div class="left"><span class="avatar"><img src="{{$value.thumb}}"</span></div>
					<div class="right">
						<div class="uinfo">
							<span class="uname">{{$value.nickname}}</span><span class="reply"></span>
							<span class="time">{{$value.create_time}}</span>
						</div>	
						<div class="content">{{$value.content}}</div>
					</div>
					<div class="clear"></div>
				</li>
				{{/each}}
		</script>
		<script type="text/html" id="waterfall-template">
			{{each}}
			<li data-aid="{{$value.aid}}">
			  	<img src="{{$value.img}}" data-width="{{$value.width}}" data-height="{{$value.height}}"/>
			  	
			  	<div>
			  		
			  		<span class="price">{{if $value.sprice!=0}}<span class="newprice">￥{{$value.cprice}}</span> <span class="oldprice">￥{{$value.sprice}}</span>{{else}}￥{{$value.price}}{{/if}}</span>
			  			
			  		</div>
			  		
			  		<a class="admin-delete">×</a>
			  </li>
			{{/each}}
		</script>
<div class="controlers"><span class="like" id="like"> 喜欢</span><span class="divide"></span><span class="share"> 分享</span><span class="comment"> 评论</span></div>
<div id="weixin-tip"><div></div></div>
<div class="comment-board">
	<div class="cheader"><span class="cancel">取消</span><span class="title">评论</span><span class="submit">提交</span></div>
	<textarea></textarea>
</div>
	<div class="add-new-wrap">
		<p class="title">在下方粘贴淘宝链接</p>
		<div class="input-wrap"><input type="text" /></div>
		<button class="submit">提 交</button>
		<button class="cancel">取 消</button>
	</div>
	
	<div class="modify-answer-wrap">
		<div class="btn-bar"><span class="done">完成</span><span class="edit-answer">编辑答案</span><span class="edit-goods">编辑商品</span><span class="delete-answer">删除答案</span></div>
		<textarea id="answer-textarea"></textarea>
	</div>
	
	<div id="mask"></div>
	</body>
	<script type="text/javascript" src="../../libs/jquery-2.1.4.min.js" ></script>
  	<script type="text/javascript" src="../../libs/sea.js" ></script>
	<script>
		//var base = "http://"+location.host + "/static/newweb";
		var base = location.href.split("/app/")[0];
	  	seajs.config({
				  paths:{
				  	"article":base+"/modules/article",
				  	"libs":base+"/libs",
				  	"common":base+"/modules/common"
				  },
				  alias: {
				  	"imagesLoaded": "libs/jquery.imagesloaded.js",
    				"wookmark": "libs/jquery.wookmark.min.js",
    				"magnificPopup": "libs/jquery.magnific-popup.min.js",
    				"template":"libs/template.js",
    				"common":"common/common.js"
				  }
				})
				// 加载入口模块
				seajs.use("article/roll.js");
	</script>
</html>